<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pyswapdmtgui: SwapManager::SwapManager Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="panStamp_web.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">pyswapdmtgui
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>SwapManager</b>      </li>
      <li class="navelem"><a class="el" href="classSwapManager_1_1SwapManager.html">SwapManager</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">SwapManager::SwapManager Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SwapManager::SwapManager" --><!-- doxytag: inherits="SwapInterface::SwapInterface" -->
<p>SWAP Management Class.  
 <a href="classSwapManager_1_1SwapManager.html#details">More...</a></p>

<p>Inherits SwapInterface.</p>

<p><a href="classSwapManager_1_1SwapManager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08e5e71dce643e560af516579d0693c3"></a><!-- doxytag: member="SwapManager::SwapManager::swapServerStarted" ref="a08e5e71dce643e560af516579d0693c3" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a08e5e71dce643e560af516579d0693c3">swapServerStarted</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">SWAP server started successfully. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a9856ae0008acee309a535a56a6e21737">newMoteDetected</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">New mote detected by SWAP server.  <a href="#a9856ae0008acee309a535a56a6e21737"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a14450b659883e600483643c7d32e54ac">newEndpointDetected</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">New endpoint detected by SWAP server.  <a href="#a14450b659883e600483643c7d32e54ac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a2acc4c0c5ef01b9b76b96e9d8eb5a2c7">moteStateChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mote state changed.  <a href="#a2acc4c0c5ef01b9b76b96e9d8eb5a2c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a66436cc9b1461d922b77986c5f3a851d">moteAddressChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mote address changed.  <a href="#a66436cc9b1461d922b77986c5f3a851d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a69d15c44f67885f6c3181bbaf2b35ffc">endpointValueChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Endpoint value changed.  <a href="#a69d15c44f67885f6c3181bbaf2b35ffc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a0d9d8dccfbf64cc64f2366f4dfcb9392">paramValueChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Config parameter value changed.  <a href="#a0d9d8dccfbf64cc64f2366f4dfcb9392"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0beb066918a35ab2590b366aee8e2d41"></a><!-- doxytag: member="SwapManager::SwapManager::terminate" ref="a0beb066918a35ab2590b366aee8e2d41" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a0beb066918a35ab2590b366aee8e2d41">terminate</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Exit application. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapManager_1_1SwapManager.html#a154e4d79cb736219ca873dfedd0cc665">__init__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="#a154e4d79cb736219ca873dfedd0cc665"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9ce184c47130b3c0c50ee6546ebe549"></a><!-- doxytag: member="SwapManager::SwapManager::browser" ref="ac9ce184c47130b3c0c50ee6546ebe549" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>browser</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fe2ff1133a5615ee2e3e8303c8d9f95"></a><!-- doxytag: member="SwapManager::SwapManager::registerValueChanged" ref="a0fe2ff1133a5615ee2e3e8303c8d9f95" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>registerValueChanged</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd4dff0250df04b121d4ed325ec0b92b"></a><!-- doxytag: member="SwapManager::SwapManager::app" ref="afd4dff0250df04b121d4ed325ec0b92b" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>app</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>SWAP Management Class. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a154e4d79cb736219ca873dfedd0cc665"></a><!-- doxytag: member="SwapManager::SwapManager::__init__" ref="a154e4d79cb736219ca873dfedd0cc665" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>verbose</em> = <code>False</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>monitor</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Class constructor. </p>
<p>'verbose' Print out SWAP frames or not 'monitor' Print out network events or not </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a69d15c44f67885f6c3181bbaf2b35ffc"></a><!-- doxytag: member="SwapManager::SwapManager::endpointValueChanged" ref="a69d15c44f67885f6c3181bbaf2b35ffc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::endpointValueChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>endpoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Endpoint value changed. </p>
<p>'endpoint' Endpoint object </p>

</div>
</div>
<a class="anchor" id="a66436cc9b1461d922b77986c5f3a851d"></a><!-- doxytag: member="SwapManager::SwapManager::moteAddressChanged" ref="a66436cc9b1461d922b77986c5f3a851d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::moteAddressChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mote address changed. </p>
<p>'mote' Mote object </p>

</div>
</div>
<a class="anchor" id="a2acc4c0c5ef01b9b76b96e9d8eb5a2c7"></a><!-- doxytag: member="SwapManager::SwapManager::moteStateChanged" ref="a2acc4c0c5ef01b9b76b96e9d8eb5a2c7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::moteStateChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mote state changed. </p>
<p>'mote' Mote object </p>

</div>
</div>
<a class="anchor" id="a14450b659883e600483643c7d32e54ac"></a><!-- doxytag: member="SwapManager::SwapManager::newEndpointDetected" ref="a14450b659883e600483643c7d32e54ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::newEndpointDetected </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>endpoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>New endpoint detected by SWAP server. </p>
<p>'endpoint' Endpoint object </p>

</div>
</div>
<a class="anchor" id="a9856ae0008acee309a535a56a6e21737"></a><!-- doxytag: member="SwapManager::SwapManager::newMoteDetected" ref="a9856ae0008acee309a535a56a6e21737" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::newMoteDetected </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>New mote detected by SWAP server. </p>
<p>'mote' Mote object </p>

</div>
</div>
<a class="anchor" id="a0d9d8dccfbf64cc64f2366f4dfcb9392"></a><!-- doxytag: member="SwapManager::SwapManager::paramValueChanged" ref="a0d9d8dccfbf64cc64f2366f4dfcb9392" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapManager::SwapManager::paramValueChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>param</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Config parameter value changed. </p>
<p>'param' Config parameter object </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/daniel/development/Aptana/pyswapdmtgui/src/SwapManager.py</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 9 2011 16:55:12 for pyswapdmtgui by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
